import URL from '@/config/url'
import utils from '@/utils/utils'

export default {
	//搜索案例
	getDomeList(params = {}) {
		let data = {
			keyword: params.keyword,
			page: params.page,
			pagesize: 10
		}
		return utils.uniRequest({
			url: URL.BASE + '/designer/DesignCase/getList',
			data
		})
	},
	//视频列表
	getgoodsList(params = {}) {
		let data = {
			keyword: params.keyword,
			page: params.page,
			pagesize: 10
		}
		return utils.uniRequest({
			url: URL.BASE + '/shop/product/lst',
			data
		})
	},
	//热门
	getHotKeyword(params = {}) {
		let data = {}
		return utils.uniRequest({
			url: URL.BASE + '/base/Keyword/getList',
		})
	},
}
